package com.yh.service;

import com.yh.javabean.Permission;

import java.util.List;

public interface PermissionService {

    List<Permission> findAll();
    List<Permission> findByUid(int uid);
    void addPermission(Permission permission);

    void delete(int id);

    void editPermission(Permission permission);

    Permission findById(int id);
}
